#pragma once

class Graph
{
private:
	int flag = -1;
	int ox, oy;
private:
	std::vector<Dot *> V;
	std::vector<Line *> E;
public:
	Graph() = default;
	~Graph() = default;

	bool render();
	bool mouseDown(int button, int x, int y);
	bool mouseUp(int button, int x, int y);
	bool mouseMove(int button, int x, int y);
	void update();
	void generate(int v, int e);
};